package com.tanhua.sso.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User extends BasePojo {

    private Long id;
    /**
     * 手机号
     */
    private String mobile;

    /**
     * json序列化时忽略
     */
    @JsonIgnore
    private String password;

    private Integer frozenTime; //冻结时长 1为冻结3天，2为冻结7天，3为永久冻结
    private Integer frozenRange; //冻结范围  1为冻结登录，2为冻结发言，3为冻结发布动态
    private String frozenReason; //冻结原因
    private String frozenRemark; //冻结备注
    private String thawedReason; //解冻原因

}